package org.yanfengying.finance.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.yanfengying.finance.domain.Deposit;
import org.yanfengying.finance.mapper.DepositMapper;
import org.yanfengying.finance.service.IDepositService;
import org.yanfengying.utils.service.impl.BastServerImpl;
import org.springframework.stereotype.Service;
import org.yanfengying.vo.FinanceVO;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yanfengying
 * @since 2022-10-26
 */
@Service
public class DepositServiceImpl extends BastServerImpl<Deposit> implements IDepositService {

    @Autowired
    private DepositMapper depositMapper;
    @Override
    public List<FinanceVO> getTotal() {
        return depositMapper.getTotal();
    }
}
